package com.ibeetl.admin.aod.service.excel.parser;

import com.ibeetl.admin.aod.entity.AodIndustryData;
import com.ibeetl.admin.aod.entity.AodIndustryKeyword;
import com.ibeetl.admin.aod.entity.AodNumberAttribution;
import com.ibeetl.admin.aod.web.dto.AodIndustryDataDto;
import com.ibeetl.admin.aod.web.dto.AodIndustryReplyDataDto;

import java.util.List;
import java.util.Map;

public interface FileParser {

    String TORNADO_TEMPLATE = "企业ID";

    String FAR_TEMPLATE = "批次";

    String REPLY_TEMPLATE = "生成时间";

    String LABEL_START_STR = "【";

    String LABEL_END_STR = "】";

    AodIndustryDataDto parse(String line, Map<String,AodNumberAttribution> aodNumberAttributionMap);

    AodIndustryReplyDataDto parseReply(String line);

    AodIndustryData parseFilter(String line, List<AodIndustryKeyword> aodIndustryKeywordList);

    AodIndustryData parseFilter(String line, List<AodIndustryKeyword> aodIndustryKeywordList, String account);

}
